<script setup lang="ts">
import { useLoadingBar } from 'naive-ui'
import { getCurrentInstance } from 'vue'

const ctx = getCurrentInstance()
Object.assign(ctx!.appContext.config.globalProperties, {
  $loadingBar: useLoadingBar()
})
</script>

<template>
  <div></div>
</template>